package cn.linstudy.common.constant.enums.ware;

/**
 * @Description 采购需求的枚举
 * @Date 2023/1/23
 * @Author XiaoLin
 */
public enum PurchaseOrderDetailEnum {
//    0新建，1已分配，2正在采购，3已完成，4采购失败
    NEW_CREATE(0,"新建"),
    ASSIGNED(1,"已分配"),
    PURCHASING(2,"正在采购"),
    FINISHED(3,"已完成"),
    PROCUREMENT_FAILED(4,"采购失败");

    private int code;

    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    PurchaseOrderDetailEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
